# -*- coding:utf-8 -*-
# @Time      :2022/11/5 23:22
# @Author    :To me
# @Email     :2086351502@qq.com
# @File      :serializers.py
# @File      :PyCharm
from rest_framework.serializers import ModelSerializer

from news.models import NewsModel


class NewSerializer(ModelSerializer):
    class Meta:
        model = NewsModel
        fields = '__all__'
